package com.tzbank.poc.exception;

/**
 * @author li_zheng2
 * Create by li_zheng2 on 2019/1/22.
 */
public class ServiceException extends RuntimeException{
    private String code;

    private String msg;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ServiceException(String code,String msg){
        this.code = code;
        this.msg = msg;
    }
}
